/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.Ghe_DAO;
import DTO.Ghe_DTO;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class Ghe_BUS {
    public static int Get_MaGhe() throws SQLException{
        return Ghe_DAO.Get_MaGhe();
    }
    public static ArrayList<Ghe_DTO> GetALL(){
        return Ghe_DAO.GetALL();
    }
    public static boolean Insert(Ghe_DTO Ghe){
        return Ghe_DAO.Insert(Ghe);
    }
    public static boolean Update(Ghe_DTO Ghe){
        return Ghe_DAO.Update(Ghe);
    }
    public static boolean Delete(int MaGhe){
        return Ghe_DAO.Delete(MaGhe);
    }
}
